var e = require("../../@babel/runtime/helpers/interopRequireDefault").default, r = e(require("../../kta/index")), t = e(require("../../api/api_YQYL.js"));

function n(e) {
    var r = wx.getStorageSync("openid");
    r.length;
    return function e(r) {
        return r < 10 ? r : e(String(r).split("").reduce(function(e, r) {
            return Number(e) + Number(r);
        }));
    }(r.charCodeAt(12)) < e;
}

r.default.Page({
    onLoad: function() {
        t.default.getUserInfo().then(function() {
            var e = n(2);
            wx.navigateTo({
                url: "/pages/".concat(e ? "YQYL_homePagedl" : "YQYL_homePage", "/index")
            });
        });
    }
});